package com.mamba.microservice.domain;

/**
 * Copyright ©2019 360jinrong All Rights Reserved
 * 请添加类/接口的说明：
 *
 * @Package: com.qihoo.finance.crawler.common.bean
 * @author: fangjin
 * @date: 2019年10月31日 18时11分
 */
public class ExcelHeadDomain {

    private String excelName;

    private String entityName;

    private int columnWidth;

    private boolean required = false;

    public ExcelHeadDomain(String excelName, String entityName) {
        this.excelName = excelName;
        this.entityName = entityName;
        this.columnWidth = 20 * 256;
    }

    public ExcelHeadDomain(String excelName, String entityName, int columnWidth) {
        this.excelName = excelName;
        this.entityName = entityName;
        this.columnWidth = columnWidth;
    }

    public String getExcelName() {
        return excelName;
    }

    public void setExcelName(String excelName) {
        this.excelName = excelName;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public boolean isRequired() {
        return required;
    }

    public void setRequired(boolean required) {
        this.required = required;
    }

    public int getColumnWidth() {
        return columnWidth;
    }

    public void setColumnWidth(int columnWidth) {
        this.columnWidth = columnWidth;
    }
}
